Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove incorrect gl usage #130

Open
wants to merge 1 commit into
base: 1.12
Choose a base branch
from
Open

Remove incorrect gl usage #130

wants to merge 1 commit into from

Conversation

Srdjan-V
Copy link

This pr is fixing an incompatibility with lwjgl3

FATAL ERROR in native method: Thread[#201,Chunk Render Task Executor #0,3,main]: No context is current or a function that is not available in the current context was called. The JVM will abort execution.
    at org.lwjgl3.opengl.GL11.glShadeModel(Native Method)
    at org.lwjgl.opengl.GL11.glShadeModel(GL11.java:1551)
    at net.minecraft.client.renderer.GlStateManager.func_179103_j(SourceFile:529)
    at com.elytradev.architecture.client.render.RenderingManager$CustomItemRenderOverrideList.handleItemState(RenderingManager.java:379)
    at net.minecraft.client.renderer.RenderItem.func_184393_a(RenderItem.java:248)
    at codechicken.lib.render.item.CCRenderItem.func_184393_a(CCRenderItem.java:393)
    at slimeknights.tconstruct.library.client.model.ModelHelper.getBakedModelForItem(ModelHelper.java:61)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant